﻿using Microsoft.EntityFrameworkCore.Migrations;
using System;

namespace Pear.Database.Migrations.Migrations
{
    public partial class v004 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "Security",
                columns: new[] { "Id", "CreatedTime", "IsDeleted", "Remark", "UniqueName", "UpdatedTime" },
                values: new object[] { 18, new DateTimeOffset(new DateTime(2020, 12, 22, 10, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), false, "security.service.list", "security.service.list", null });

            migrationBuilder.InsertData(
                table: "Security",
                columns: new[] { "Id", "CreatedTime", "IsDeleted", "Remark", "UniqueName", "UpdatedTime" },
                values: new object[] { 19, new DateTimeOffset(new DateTime(2020, 12, 22, 10, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), false, "security.service.give", "security.service.give", null });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "Security",
                keyColumn: "Id",
                keyValue: 18);

            migrationBuilder.DeleteData(
                table: "Security",
                keyColumn: "Id",
                keyValue: 19);
        }
    }
}